package ua.kharkov.photo.controllers;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping(value = "/errors")
public class ErrorController extends AbstractController {
	@RequestMapping(value = "/default")
	public String error() {
		return "errors/default";
	}

	@RequestMapping(value = "/incorrectinput")
	public String incorrectInput() {
		return "errors/incorrectinput";
	}

	@RequestMapping(value = "/incorrectpassword")
	public String incorrectPassword() {
		return "errors/incorrectpassword";
	}

	@RequestMapping(value = "/passwordnotequals")
	public String passwordNotEquals() {
		return "errors/passwordnotequals";
	}
}
